package com.zyk.scaffold.user.mail.sender;

import lombok.Data;

import java.io.Serializable;
import java.util.Arrays;

@Data
public class SenderMessage implements Serializable {
    static final long serialVersionUID = 42L;
    private String from;
    private String[] to;
    private String subject;
    private String content;

    public String toText() {
        return "SenderMessage{" +
                "from='" + from + '\'' +
                ", to=" + Arrays.toString(to) +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
